package com.wlk.mapper;

import com.wlk.pojo.Students;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StudentsMapper {
    List<Students> getAllStudents();

    List<Students> getStudentsByPage(@Param("offset")Integer offset, @Param("limit")Integer limit);

    int addStudents(Students students);

     int delStudentByStudentNumber(String studentNumber);
}
